OneOfCluster::OneOfCluster

Section: ET++ method description (n)
Updated: automatically Thu Mar 21 20:11:28 1991
Index Return to Main Contents
 

NAME

OneOfCluster::OneOfCluster - instance method  

TEMPLATE

void OneOfCluster(int id, VObjAlign align, Point gap, VObject * firstItem, ellipsis ...)  

SPECIFIERS

public  

DESCRIPTION

This constructor installs all items of the NULL terminated list. There should be OnOffItems, RadioButtons, ToggleButtons or LabeledButtons, but the list may actually contain any kind of VObject.  

ARGUMENTS

int id

the id of the Cluster
VObjAlign align

how to align the buttons. See
enum VObjAlign.
Point gap

the minimum gap between the buttons
VObject * firstItem

any kind of VObject
ellipsis ...

a NULL
terminated list of VObjects
 

RETURN ARGUMENT

void

 

CATEGORIES

client interface

 

FILES

implementation:
OneOfCluster.C

 

NAME

OneOfCluster::OneOfCluster - instance method  

TEMPLATE

void OneOfCluster(int id = cIdNone, VObjAlign align = eVObjHLeft, Point gap = gPoint0, Collection * items = NULL)  

SPECIFIERS

public  

DESCRIPTION

 

ARGUMENTS

int id = cIdNone

the id of the Cluster
VObjAlign align = eVObjHLeft

how to align the buttons. See
enum VObjAlign.
Point gap = gPoint0

the minimum gap between the buttons
Collection * items = NULL

a list of VObjects
. There should be OnOffItems, RadioButtons, ToggleButtons or LabeledButtons, but the list may actually contain any kind of VObject.
 

RETURN ARGUMENT

void

 

CATEGORIES

client interface

 

FILES

implementation:
OneOfCluster.C

 

NAME

OneOfCluster::OneOfCluster - instance method  

TEMPLATE

void OneOfCluster(int id, VObjAlign align, Point gap, char * label, ellipsis ...)  

SPECIFIERS

public  

DESCRIPTION

This constructor creates as many LabeledButtons as button labels are specified. Each LabeledButton has a RadioButton inside. id is assigned to the Cluster itself. The first LabeledButton is assigned id+1, the second id+2, and so on.  

ARGUMENTS

int id

the id of the Cluster
VObjAlign align

how to align the buttons. See
enum VObjAlign.
Point gap

the minimum gap between the buttons
char * label

the first button label
ellipsis ...

a NULL
terminated list of the remaining button labels
 

RETURN ARGUMENT

void

 

CATEGORIES

client interface

 

FILES

implementation:
OneOfCluster.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FILES
NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FILES
NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:24 GMT, March 30, 2022